package com.woniu.apartment.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseEntity;

import java.io.Serializable;

/**
 * 公寓详情对象 tb_apartment_ext
 *
 * @author yy
 * @date 2023-04-03
 */
@ApiModel(value = "ApartmentExt", description = "公寓详情")
public class ApartmentExt implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 公寓表主键 */
    @ApiModelProperty("公寓表主键")
    private Long apartmentId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @ApiModelProperty("${comment}")
    private String apartmentDesc;

    public void setApartmentId(Long apartmentId)
    {
        this.apartmentId = apartmentId;
    }

    public Long getApartmentId()
    {
        return apartmentId;
    }
    public void setApartmentDesc(String apartmentDesc)
    {
        this.apartmentDesc = apartmentDesc;
    }

    public String getApartmentDesc()
    {
        return apartmentDesc;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("apartmentId", getApartmentId())
            .append("apartmentDesc", getApartmentDesc())
            .toString();
    }
}
